<template>
    <div class="detail_main">
        <div class="concat">
            <div class="left">
                <van-icon name="location-o" color="#999" size="20"></van-icon>
            </div>
            <div class="right">
                <div class="info">
                    <span>王逍遥</span>
                    <span>18729192312</span>
                </div>
                <div class="addr">
                    地址：爱啥啥接口都会奥术大师大声道阿斯达阿斯达师大声道阿斯达阿斯达师大声道阿斯达阿斯达师
                </div>
                <div class="right_arrow">
                    <van-icon name="arrow" color="#999" size="20"></van-icon>
                </div>
            </div>
        </div>
        <van-cell title="药品处方" style="margin-top:10px">
            <span style="color:#00aac6">已完成</span>
        </van-cell>
        <div class="medic_main">
            <div class="main_item">
                <div class="title">
                    <span>阿法骨化醇软胶囊</span>
                    <span>￥45元</span>
                </div>
                <div class="info">
                    <span>规格：3mg：0.33*21片</span>
                    <span>x2</span>
                </div>
            </div>
            <div class="main_item">
                <div class="title">
                    <span>阿法骨化醇软胶囊</span>
                    <span>￥45元</span>
                </div>
                <div class="info">
                    <span>规格：3mg：0.33*21片</span>
                    <span>x2</span>
                </div>
            </div>
            <van-cell>
                <div class="total">
                    共3件商品，合计<span>27</span>元
                </div>
            </van-cell>
        </div>
        <div class="order_main">
            <p>订单编号：1234567898765467</p>
            <p>处方编号：123456789fdsd8765467</p>
            <p>创建时间：2018-03-06 08:27</p>
            <p>配送方式：配送</p>
            <p>如有任何疑问请联系客服：<span style="color:#00aac6">4008-590-590</span></p>
        </div>
    </div>
</template>

<script>
export default {};
</script>

<style lang="less" scoped>
.concat {
    width: 100%;
    margin-top: 10px;
    background: #fff;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    &:after {
        position: absolute;
        right: 0;
        bottom: 0;
        left: 0;
        height: 2px;
        background: -webkit-repeating-linear-gradient(
            135deg,
            #ff6c6c 0,
            #ff6c6c 20%,
            transparent 0,
            transparent 25%,
            #1989fa 0,
            #1989fa 45%,
            transparent 0,
            transparent 50%
        );
        background: repeating-linear-gradient(
            -45deg,
            #ff6c6c 0,
            #ff6c6c 20%,
            transparent 0,
            transparent 25%,
            #1989fa 0,
            #1989fa 45%,
            transparent 0,
            transparent 50%
        );
        background-size: 80px;
        content: "";
    }
    .left {
        width: 40px;
        height: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .right {
        flex: 1;
        font-size: 14px;
        position: relative;
        .info span {
            color: #333;
            font-weight: 500;
            &:nth-of-type(1) {
                font-size: 16px;
                margin-right: 10px;
            }
        }
        .addr {
            color: #999;
            margin-top: 5px;
        }
        .right_arrow {
            position: absolute;
            right: 10px;
            top: 0;
        }
    }
}
.medic_main {
    width: 100%;
    min-height: 100px;
    background: #f8f8f8;
    .main_item {
        width: 100%;
        height: 60px;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-direction: column;
        padding: 0 15px;
        box-sizing: border-box;
        .title,
        .info {
            width: 100%;
            height: 26px;
            display: flex;
            align-items: center;
            justify-content: space-between;
        }
        .title {
            font-size: 16px;
            color: #333;
            span:nth-of-type(2) {
                color: #999;
                font-size: 14px;
            }
        }
        .info {
            font-size: 14px;
            color: #999;
        }
    }
    .total {
        text-align: right;
        font-size: 14px;
        color: #999;
        width: 100%;
        text-align: right;
        span {
            color: #fd8119;
        }
    }
}
.order_main{
    width: 100%;
    margin-top: 10px;
    background: #fff;
    min-height: 100px;
    padding: 10px;
    box-sizing: border-box;
    p{
        color: #999;
        font-size: 14px;
        margin: 10px 0;
    }
}
</style>
